home *** CD-ROM | disk | FTP | other *** search
/ PC go! 2008 April / PCgo 2008-04 (DVD).iso / interface / contents / demoversionen_3846 / 13664 / files / Data1.cab / printcad.idl < prev    next >
Encoding:
Text File  |  2001-10-16  |  1.5 KB  |  53 lines

  1. /******************************************************************/
  2. /*                                                                */
  3. /*                      TurboCAD for Windows                      */
  4. /*                   Copyright (c) 1993 - 2001                    */
  5. /*             International Microcomputer Software, Inc.         */
  6. /*                            (IMSI)                              */
  7. /*                      All rights reserved.                      */
  8. /*                                                                */
  9. /******************************************************************/
  10.  
  11. // PrintCAD.idl : IDL source for PrintCAD.dll
  12. //
  13.  
  14. // This file will be processed by the MIDL tool to
  15. // produce the type library (PrintCAD.tlb) and marshalling code.
  16.  
  17. import "oaidl.idl";
  18. import "ocidl.idl";
  19.     [
  20.         object,
  21.         uuid(7364EA8D-AEB3-11D2-8C26-00403338C504),
  22.         dual,
  23.         helpstring("IPrintDr Interface"),
  24.         pointer_default(unique)
  25.     ]
  26.     interface IPrintDr : IDispatch
  27.     {
  28.  
  29.                                                         
  30.         [id(1), helpstring("method PrintAll")] HRESULT PrintAll(LPDISPATCH WhichDrawing, long hPrintDC);
  31.     };
  32.  
  33. [
  34.     uuid(7364EA61-AEB3-11D2-8C26-00403338C504),
  35.     version(1.0),
  36.     helpstring("PrintCAD 1.0 Type Library")
  37. ]
  38. library PRINTCADLib
  39. {
  40.     importlib("stdole32.tlb");
  41.     importlib("stdole2.tlb");
  42.  
  43.     [
  44.         uuid(7364EA8F-AEB3-11D2-8C26-00403338C504),
  45.         helpstring("PrintDr Class")
  46.     ]
  47.     coclass PrintDr
  48.     {
  49.         [default] interface IPrintDr;
  50.  
  51.     };
  52. };
  53.